
const course = {
    sale: ['page','add','edit','resetPwd'],
    order: ['page','view','import','pay'],
    orderStudent: ['list'],
    orderRefund: ['add','audit'],
    orderInvoice: ['add','page','view','import','export','disable'],
    orderCommission: ['page','export'],
    orderWithdrawal: ['page','edit','export'],
    management: ['page','export','disable']
}
const courseButton = {}
for (const key in course) {
    course[key].map((courseItem) => {
        let courseName = 'course' + key + courseItem
        let courseValue = 'course:' + key + ':' + courseItem
        courseButton[courseName] = courseValue
    })
}
export default courseButton
